Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add paranoia_destroy_attributes support for really_destory! #344

Open
wants to merge 1 commit into
base: core
Choose a base branch
from

Conversation

shizm
Copy link

@shizm shizm commented Jul 13, 2016

If target model has paranoia_destroy_attributes method and called really_destroy method,
attribute is not updated correctly, so deprecation warning message has shown.

DEPRECATION WARNING: You attempted to assign a value which is not explicitlytrueorfalse(2016-07-13 08:38:45 UTC) to a boolean column. Currently this value casts tofalse. This will change to match Ruby's semantics, and will cast totruein Rails 5. If you would like to maintain the current behavior, you should explicitly handle the values you would like cast tofalse. (called from block in <main> at (pry):2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants